package com.zmm.zebulon.module.infra.biz.websocket.message;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * description: 示例：server -> client 同步消息
 *
 * @author zebulon
 * package com.zmm.zebulon.module.infra.biz.websocket.message
 * name: DemoReceiveMessage
 * date 2024/1/7 20:34
 */
@Data
@Accessors(chain = true)
public class DemoReceiveMessage {

    /**
     * 接收人的编号
     */
    private Long fromUserId;
    /**
     * 内容
     */
    private String text;

    /**
     * 是否单聊
     */
    private Boolean single;

}
